:root {
  --dark-text: #f8fbff;
  --light-body: #f3f8fe;
  --light-main: #fdfdfd;
  --light-hover: #f0f0f0;
  --light-text: #151426;
  --light-btn: #9796f0;
  --blue: #0000ff;
  --white: #fff;
  --shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  --font-family: consolas;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  place-items: center;
  font-family: var(--font-family);
  background: linear-gradient(to right, #9796f0, #fbc7d4);
  overflow: hidden;
}

.container {
  width: max-content;
  height: max-content;
  position: relative;
  display: flex;
  padding: 2% 0px 0px 0px;
  justify-content: center;
  top: 10%;
  right: 0%;
  width: 100%;
  height: 100%;
}
.calendar {
    height: 610px;
    width:max-content;
    background-color: white;
    border-radius: 25px;
    overflow: hidden;
    padding:30px 50px 0px 50px;
    box-shadow: var(--shadow);
}
.calendar-header {
    background:#9796f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--white);
    padding: 10px;
}

.calendar-body{
    pad:10px;
}

.calendar-week-days{
    display: grid;
    grid-template-columns: repeat(7,1fr);
    font-weight: 600;
    cursor: pointer;
    color: rgb(104, 104, 104);
}

.calendar-week-days div:hover {
    color:black;
    transform: scale(1.2);
    transition: all .2s ease-in-out;
}
.calendar-week-days div{
    display: grip;
    place-items: center;
    color:var(--bg-second);
    height:50px;
}
.calendar-days{
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap:2px;
    color:var(--color-txt);
}
.colendar-days div{
    width: 37px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    position: relative;
    cursor:pointer;
    animation: to-top 1s forwards;
}
.month-picker{
    padding: 5px 10px;
    cursor: pointer;
}
.month-picker:hover{
    background-color: var(--color-hover);
}
.month-picker:hover{
    color:var(--color-txt);
    transition:all .2s ease-in-out;
    transform:scale(1.12);
}
.year-change:hover pre{
    color:var(--bg-body);
}
.calendar-footer{
    padding:10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#year:hover{
    cursor: pointer;
    transform: scale(1.2);
    transition: all 0.2s ease-in-out;
}
.calendar-days div span{
    position: absolute;
}
.calendar-days div:hover{
    transition: width 0.2s ease-in-out,height 0.2s ease-in-out;
    background-color: #fbc7d4;
    border-radius: 20%;
    color:var(--dark-text);
}
.onth-list{
    position: relative;
    left:0;
    top:-50px;
    background-color: #ebebeb;
    
}
